package cn.tedu.milktea.admin.service.impl;

import cn.tedu.milktea.admin.mapper.ProductMapper;
import cn.tedu.milktea.admin.service.IProductService;
import cn.tedu.milktea.pojo.vo.ProductSimpleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements IProductService {
    
    @Autowired
    ProductMapper productMapper;


    @Override
    public List<ProductSimpleVO> getProductStatistics() {
        return productMapper.getProductStatistics();
    }
}
